package com.yyx.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Optional;

public interface FileService {
    String upload(MultipartFile file) throws IOException;
    String upload(MultipartFile file, String position) throws IOException;
    void delete(String fileUrl);
}